package com.csot.ry.domain;

import com.csot.common.annotation.Excel;
import com.csot.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资产ip对象 t_asset_ip
 * 
 * @author csot
 * @date 2025-07-09
 */
public class TAssetIp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** IP地址* */
    @Excel(name = "IP地址*")
    private String ip;

    /** ip地址整型 */
    @Excel(name = "ip地址整型")
    private Long ipI;

    /** 资产名称* */
    @Excel(name = "资产名称*")
    private String deviceName;

    /** 网络位置* */
    @Excel(name = "网络位置*")
    private String deviceAddress;

    /** 责任人姓名* */
    @Excel(name = "责任人姓名*")
    private String ipUser;

    /** 责任部门* */
    @Excel(name = "责任部门*")
    private String ipManagement;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setIpI(Long ipI) 
    {
        this.ipI = ipI;
    }

    public Long getIpI() 
    {
        return ipI;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceAddress(String deviceAddress) 
    {
        this.deviceAddress = deviceAddress;
    }

    public String getDeviceAddress() 
    {
        return deviceAddress;
    }
    public void setIpUser(String ipUser) 
    {
        this.ipUser = ipUser;
    }

    public String getIpUser() 
    {
        return ipUser;
    }
    public void setIpManagement(String ipManagement) 
    {
        this.ipManagement = ipManagement;
    }

    public String getIpManagement() 
    {
        return ipManagement;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ip", getIp())
            .append("ipI", getIpI())
            .append("deviceName", getDeviceName())
            .append("deviceAddress", getDeviceAddress())
            .append("ipUser", getIpUser())
            .append("ipManagement", getIpManagement())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
